/*
 * sgli.h
 *
 *  W. Robinson, SAIC, 3 Oct 2016
 *
 */

#ifndef SRC_L2GEN_SGLI_H_
#define SRC_L2GEN_SGLI_H_

#include <gsl/gsl_errno.h>
#include <gsl/gsl_interp2d.h>
#include <gsl/gsl_spline2d.h>

typedef struct sgli_struct {
    char swir_ir_file[FILENAME_MAX];
} sgli_t;

/* This is a sensor band-dependent geometry structure, per-band  */
typedef struct band_geom_str_def {
    h5io_str dsid[2]; /* for sensor as solar has no band dependence */
    float scale[2];
    float offset[2];
    gsl_spline2d *int_id_sen[3];
    char *qual;
} band_geom_str;

#endif /* SRC_L2GEN_SGLI_H_ */
